package cn.service;

import cn.entities.UserInfo;
import cn.entities.UserRole;

import java.util.List;

public interface UserService {
    public UserInfo login(String username,String password);

    public List<UserInfo> getAllUser();

    public List<UserRole> getAllUserRole();

    public void addUserInfo(UserInfo userInfo);

    public UserInfo getUserById(Integer id);

    public void deletUser(String ids);
}
